<h1>New dvd</h1>

<%= error_messages_for :dvd %>

<% form_for(@dvd) do |f| %>
  <p>
    <b>Title</b><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <b>Length</b><br />
    <%= f.text_field :length %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', dvds_path %>
